//
//  STLabel.swift
//  Demo-04-TabBarTest
//
//  Created by 苏统世 on 16/5/16.
//  Copyright © 2016年 SuTon. All rights reserved.
//

import UIKit

class STLabel: UILabel {

    class func addLabel(title title:String,color:UIColor=UIColor.blackColor(),titleFont:UIFont=UIFont.systemFontOfSize(15))->UILabel{
        let label = UILabel()
        label.text = title
        label.textColor = color
        label.font = titleFont
        return label
    }

}
